<template>
	<view>
		<view class="address-one" v-for="(item, index) in 8" :key="index" @click="handleSelect(item)">租借地点{{ item }}</view>
	</view>
</template>

<script>
export default {
	data() {
		return {};
	},
	methods: {
		handleSelect(value) {
			const pages = getCurrentPages();
			const prevPage = pages[pages.length - 2]; // 获取上级页面实例
			prevPage.address = '租借点' + value;
			wx.navigateBack();
		}
	}
};
</script>

<style lang="scss" scoped>
.address-one {
	display: flex;
	box-sizing: border-box;
	width: 100%;
	padding: 10px 24rpx;
	overflow: hidden;
	color: #323233;
	font-size: 14px;
	line-height: 24px;
	background-color: #fff;
}
</style>
